<?php
require_once("abstractdatabase.php");

class process extends MsssqlDB 
{
	private $clsmssql ;
	public function __construct()
	{
		 parent::__construct("mssql.infratechastm.com","infratechastm_dede","system1","infratechastm_Mockup");
	}
	
	public function querygettabletype($table)
	{
		$sql = $this->msssqlselectdata("*",$table,"");
		
		return $sql;
	}
	
	public function queryalluser($condition)
	{
		if($condition == '')
		{
			
		}else if($condition == '1')
		{
			
		}else if($condition == '2')
		{
			
		}
		$table = "Usernames INNER JOIN UserDetail ON Usernames.pkUser = UserDetail.pkUser";
		$sql = $this->msssqlselectdata("*",$table,"");
	
		return $sql;
	}
	
	public function adduser()
	{
		$this->MssqlInsert($table,$data,$input);
	}
	
	public function selectuseredit($iduser)
	{
		$table = "Usernames INNER JOIN UserDetail ON Usernames.pkUser = UserDetail.pkUser";
		$condition = "UserDetail.pkUser = '$iduser'";
		$sql = $this->msssqlselectdata("*",$table,"");
	
		return $sql;
	}
	
	
	
	
	

}

?>